package edu.nakan.employee;

/**
 * @author PHUNG Nam Can - NakanPhung
 * @mail cank56hua@gmail.com
 * @date Jul 23, 2013 10:45:54 AM
 * @project HomeWorkDay4Problem1
 * @file Employee.java
 */

public class Employee {

	// setup variable
	private String id = "";
	private String name = "";
	private String date = "";
	private float pay = 0.0f;

	// to contractor Employee

	/**
	 * @param String
	 *            id
	 * @param String
	 *            name
	 * @param String
	 *            date
	 * @param Float
	 *            pay
	 * 
	 * */
	public Employee(String id, String name, String date, float pay) {
		this.id = id;
		this.name = name;
		this.date = date;
		this.pay = pay;
	}

	public void display() {
		System.out.println(id + "\t\t\t" + name + "\t\t\t" + date + "\t\t\t"
				+ pay);

	}
}
